package com.tarena.lbs.business.dao.repository;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tarena.lbs.business.pojo.po.StorePO;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StoreRepository {

    void save(StorePO po);

    Page<StorePO> getStorePageList(StoreQuery storeQuery, Page<StorePO> page);

    Page<StorePO> getStoreByCityAndBusinessId(List<Long> cityIdList, Integer businessId, Page<StorePO> page);
}
